<%@page import="vlms.bean.SimpleCustomer" %>
<%@page import="vlms.bean.PremiumCustomer" %>
<%@page import="vlms.bean.Person" %>
<%@page import="vlms.bean.Account" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ include file="/title.html" %>
</head>
<table width="100%">
<%@ include file="/header.jsp" %>

<tr valign="top"><td align="center" height="300px">
<table width="50%" align="center">

<tr valign="top" height="50px">
<td align="center">
<%@ include file="/headerLinks.jsp" %>
</td>
</tr>
<tr><td align="center" height="40px" colspan="2" valign="top"><h3>Profile</h3></td></tr>
<% if(request.getAttribute("message") != null) { %>
<tr><td align="center" style="color:red" colspan="2" height="40px" valign="top"><%= request.getAttribute("message") %></td></tr>
<% } %>

<% 
	Account oAccount = (Account)session.getAttribute("Account");
%>

<form name="profile" action="ChangePassword" method="post">

<tr>
<td align="left">User Name:</td>

<td><input type="text" name="username" value="<%=oAccount.getUsername()%>" disabled="disabled"></td>
</tr>
<tr>
<td align="left">Password:</td>
<td><input type="text" name="password" value=""></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="changepassword" value="Change Password">
</form>
</td>
</tr>
</table>
</td>
</tr>
<%@ include file="/bottom.html" %>
</table>
<body>

</body>
</html>